<?php
// +----------------------------------------------------------------------
// | 控制台配置
// +----------------------------------------------------------------------
use app\command\GenerateAppKey;
use app\command\GenerateJwtKey;
use app\command\InitEnv;
use app\command\ResetAdminPassword;


return [
    // 指令定义
    'commands' => [
        // 测试指令
        'test'                 => \app\command\Test::class,
        // 初始化env文件
        'init:env'             => InitEnv::class,
        // 生成新的app_key
        'generate:app_key'     => GenerateAppKey::class,
        // 生成新的jwt_key
        'generate:jwt_key'     => GenerateJwtKey::class,
        // 重置后台管理员密码
        'reset:admin_password' => ResetAdminPassword::class,
        // 更新code信息
        'update:code' => \app\command\UpdateCode::class,
        // 移除trade_code信息
        'remove:trade_code' => \app\command\RemoveTradeCode::class,
        //筛选code
        'select:code'   =>  \app\command\SelectCode::class,
        //sell_code
        'sell:code'   =>  \app\command\SellCode::class,
        //auto_sell
        'auto:sell' =>  \app\command\AutoSell::class,
        //ethTrade
        'eth:trade' => \app\command\EthTrade::class,

    ],
];
